
/**
 * The PrivacyProvider parses {@link Privacy} packets. {@link Privacy}
 * Parses the <tt>query</tt> sub-document and creates an instance of {@link Privacy}.
 * For each <tt>item</tt> in the <tt>list</tt> element, it creates an instance 
 * of {@link PrivacyItem} and {@link org.jivesoftware.smack.packet.PrivacyItem.PrivacyRule}.
 * 
 * @author Francisco Vives
 */
class PrivacyProvider : public IQProvider {
public:
	PrivacyProvider() {
	}

	IQ * parseIQ(XmlPullParser * parser);
		
	// Parse the list complex type
	void parseList(XmlPullParser * parser, Privacy * privacy);
		
	// Parse the list complex type
	PrivacyItem * parseItem(XmlPullParser * parser);

private:

};
